package com.nikitova.craps3d.view {
	import org.puremvc.as3.multicore.interfaces.*;
	import org.puremvc.as3.multicore.patterns.mediator.*;
	import org.puremvc.as3.multicore.utilities.startupmanager.StartupManager;

	/**
	 * @author schranz
	 */
	public class MediatorTemplate extends Mediator 
	{
		static public const NAME:String = "MediatorTemplate";

		public function MediatorTemplate(component:Object, name:String = NAME)
		{
			super(name, component);
		}
		override public function onRegister() : void
		{
			showView(false);
		}
		
		override public function listNotificationInterests():Array  
		{
			return [];
		}
		override public function handleNotification( note:INotification ):void
		{
			/*switch ( note.getName() ) 
			{
				case :
					
					break;
			}*/
		}
		
		public function get component():Object
		{
			return viewComponent as Object;
		}
		
		private function showView(value : Boolean) : void
		{
			
			component.visible = value;
		}
		
	}
}
